package com.example.demo.entity.VO;

import com.dtflys.forest.annotation.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.Min;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "PetAndUserVO对象", description = "宠物和主人对象")
public class PetAndUserVO {

    @NotNull
    @ApiModelProperty(value = "宠物ID",required = true)
    private Integer petId;

    @NotNull
    @ApiModelProperty(value = "用户ID",required = true)
    private Integer userId;
}
